<?php

$hostname = 'localhost';
$dbname   = 'collectionoid';
$user_email = 'root';
$user_pass = '';

// Let's connect to host
mysql_connect($hostname, $user_email, $user_pass) or DIE('Connection to host is failed, perhaps the service is down!');

// Select the database
mysql_select_db($dbname) or DIE('Database name is not available!');

?>